hvm vmx: Clean up vmx_io_instruction().
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 5 Jun 2007 09:08:09 +0000 (10:08 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 5 Jun 2007 09:08:09 +0000 (10:08 +0100)
commit4d113a718451b4298397b65dc7c4e0e526796d56
tree33bcd489ef61fed5bdec73474563dd98a2bcdb94
parent5238d5a2f0865ff7ad55d7c686688eb61543e5cb
hvm vmx: Clean up vmx_io_instruction().

vmx_io_instruction() is too long, so it's hard to understand or change
something. The attached patch splits it into several readable functions,
making it easer to understand and extend.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/vmx/vmx.h